<?php
	require '../config.php';
	require '../inc/require.php';	
	
	$account_id = Session::get('account_id');
	
	$chip_id = $_GET['chip_id'];
	
	$message = new Message();
	$messages = $message->getBySender($chip_id);

	echo json_encode($messages);
